package com.itheima.test0909.test01;

public class test01 {
    public static void main(String[] args) {
        Student s1 = new Student("张三", 25, true);
        Student s2 = new Student("李四", 34, false);
        Student s21 = new Student("李四", 34, false);

        System.out.println(s1.toString());
        System.out.println(s2.toString());

        System.out.println(s1.equals(s2));
        System.out.println(s2.equals(s21));
    }
}
